﻿using Microsoft.Practices.Unity;
using TciNewsReader_2014_04.Controls;
using TciNewsReader_2014_04.Infrastructure;
using TciNewsReader_2014_04.Interfaces;
namespace TciNewsReader_2014_04.VmHelpers
{// dialog abstraction
    public interface IViewModel { }
    public interface IIncludeExclude : IWindowInteraction { }
    public class IncludeExcludeInitializer : BaseDialogInitializer, IIncludeExclude
    {
        public IncludeExcludeInitializer(IUnityContainer container) : base(container, typeof(IncludeExclude), typeof(IViewModel)) { }
    }
    public interface IHelpAbout : IWindowInteraction { }
    public class HelpAboutInitializer : BaseDialogInitializer, IHelpAbout
    {
        public HelpAboutInitializer(IUnityContainer container) : base(container, typeof(HelpAbout), typeof(IViewModel)) { }
    }
    public interface IErrorReport : IWindowInteraction { }
    public class ErrorReportInitializer : BaseDialogInitializer, IErrorReport
    {
        public ErrorReportInitializer(IUnityContainer container) : base(container, typeof(ErrorReport), typeof(IViewModel)) { }
    }
    public interface IFeedCrud : IWindowInteraction { }
    public class FeedCrudInitializer : BaseDialogInitializer, IFeedCrud
    {
        public FeedCrudInitializer(IUnityContainer container) : base(container, typeof(FeedCrud), typeof(IViewModel)) { }
    }
    public interface IConfig : IWindowInteraction { }
    public class ConfigInitializer : BaseDialogInitializer, IConfig
    {
        public ConfigInitializer(IUnityContainer container) : base(container, typeof(Config), typeof(IViewModel)) { }
    }
}
